#!/bin/sh
mkdir -p /data/wanli-pay/channel-notify/`hostname`/
ln -s /data/wanli-pay/channel-notify/`hostname`/ /data/logs

exec java -Dfile.encoding=UTF-8 $JAVA_OPTS -javaagent:/usr/local/skywalking/agent/skywalking-agent.jar=$SW_PARAMS  -jar /usr/local/channel-notify.jar